package com.ruoyi.gt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 图书卡片对象 gt_book_list_info
 * 
 * @author xkang
 * @date 2020-06-19
 */
public class GtBookListInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** book_id */
    private Long bookId;

    /** 书名 */
    @Excel(name = "书名")
    private String bookName;

    /** 出版时间 */
    @Excel(name = "出版时间")
    private String bookTime;

    /** 作者 */
    @Excel(name = "作者")
    private String bookAuthor;

    /** 豆瓣评分 */
    @Excel(name = "豆瓣评分")
    private Integer bookRank;

    /** isbn */
    @Excel(name = "isbn")
    private String bookIsbn;

    /** 封面 */
    @Excel(name = "封面")
    private String bookImg;

    /** 多图 */
    @Excel(name = "多图")
    private String bookImgs;

    /** 图书简介 */
    @Excel(name = "图书简介")
    private String bookIntro;

    /** 作者简介 */
    @Excel(name = "作者简介")
    private String bookAuthorIntro;

    /** 展现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "展现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    /** up数量 */
    @Excel(name = "up数量")
    private Integer upNum;

    /** $column.columnComment */
    @Excel(name = "up数量")
    private Integer upState;

    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookTime(String bookTime) 
    {
        this.bookTime = bookTime;
    }

    public String getBookTime() 
    {
        return bookTime;
    }
    public void setBookAuthor(String bookAuthor) 
    {
        this.bookAuthor = bookAuthor;
    }

    public String getBookAuthor() 
    {
        return bookAuthor;
    }
    public void setBookRank(Integer bookRank) 
    {
        this.bookRank = bookRank;
    }

    public Integer getBookRank() 
    {
        return bookRank;
    }
    public void setBookIsbn(String bookIsbn) 
    {
        this.bookIsbn = bookIsbn;
    }

    public String getBookIsbn() 
    {
        return bookIsbn;
    }
    public void setBookImg(String bookImg) 
    {
        this.bookImg = bookImg;
    }

    public String getBookImg() 
    {
        return bookImg;
    }
    public void setBookImgs(String bookImgs) 
    {
        this.bookImgs = bookImgs;
    }

    public String getBookImgs() 
    {
        return bookImgs;
    }
    public void setBookIntro(String bookIntro) 
    {
        this.bookIntro = bookIntro;
    }

    public String getBookIntro() 
    {
        return bookIntro;
    }
    public void setBookAuthorIntro(String bookAuthorIntro) 
    {
        this.bookAuthorIntro = bookAuthorIntro;
    }

    public String getBookAuthorIntro() 
    {
        return bookAuthorIntro;
    }
    public void setUpTime(Date upTime) 
    {
        this.upTime = upTime;
    }

    public Date getUpTime() 
    {
        return upTime;
    }
    public void setUpNum(Integer upNum) 
    {
        this.upNum = upNum;
    }

    public Integer getUpNum() 
    {
        return upNum;
    }
    public void setUpState(Integer upState) 
    {
        this.upState = upState;
    }

    public Integer getUpState() 
    {
        return upState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("bookName", getBookName())
            .append("bookTime", getBookTime())
            .append("bookAuthor", getBookAuthor())
            .append("bookRank", getBookRank())
            .append("bookIsbn", getBookIsbn())
            .append("bookImg", getBookImg())
            .append("bookImgs", getBookImgs())
            .append("bookIntro", getBookIntro())
            .append("bookAuthorIntro", getBookAuthorIntro())
            .append("upTime", getUpTime())
            .append("upNum", getUpNum())
            .append("createTime", getCreateTime())
            .append("upState", getUpState())
            .toString();
    }
}
